<?php

class Mediad2_Model_Role extends Mediad2_Model_Abstract
{
	/**
	 * const
	 */
	const ROLECODE_GUEST 	= 'guest';
	const ROLECODE_USER 	= 'user';
	const ROLECODE_PERSON 	= 'person';
	const ROLECODE_CORP		= 'corp';
	const ROLECODE_MOBILE	= 'mobile';
	const ROLECODE_MEDIAD	= 'mediad';
	const ROLECODE_BUSADMIN	= 'busadmin';
	const ROLECODE_SYSADMIN	= 'sysadmin';
	
	/**
	 * var
	 */
	protected $RoleId;
	protected $RoleCode;
	protected $RoleDesc;
	protected $ParentRoleCode;

	/**
     * @return the $ParentRoleCode
     */
    public function getParentRoleCode ()
    {
        return $this->ParentRoleCode;
    }

	/**
     * @param field_type $ParentRoleCode
     */
    public function setParentRoleCode ($ParentRoleCode)
    {
        $this->ParentRoleCode = $ParentRoleCode;
    }

	/**
     * @return the $RoleId
     */
    public function getRoleId ()
    {
        return $this->RoleId;
    }

	/**
     * @return the $RoleCode
     */
    public function getRoleCode ()
    {
        return $this->RoleCode;
    }

	/**
     * @return the $RoleDesc
     */
    public function getRoleDesc ()
    {
        return $this->RoleDesc;
    }

	/**
     * @param field_type $RoleId
     */
    public function setRoleId ($RoleId)
    {
        $this->RoleId = $RoleId;
    }

	/**
     * @param field_type $RoleCode
     */
    public function setRoleCode ($RoleCode)
    {
        $this->RoleCode = $RoleCode;
    }

	/**
     * @param field_type $RoleDesc
     */
    public function setRoleDesc ($RoleDesc)
    {
        $this->RoleDesc = $RoleDesc;
    }



}